package com.demo.dao;


import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;
import com.demo.domain.Restaurants;

public interface RestaurantsRepository extends MongoRepository<Restaurants, String>{
	 public List<Restaurants> findByName(String name);
	 public List<Restaurants> findByBorough(String borough);
	 public List<Restaurants> findByCuisine(String cuisine);
	 
}
